package com.healthcloud.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.healthcloud.dao.ExamTestProjectKindConclusionMapper;
import com.healthcloud.entity.ExamTestProjectKindConclusion;
import com.healthcloud.service.ExamTestProjectKindConclusionService;

/**
 * 健康体检项目小结 
 * @author ZhengL
 * 2015-08-05
 */
@Service
@Transactional
public class ExamTestProjectKindConclusionServiceImpl implements
		ExamTestProjectKindConclusionService {
	
	@Autowired
	private ExamTestProjectKindConclusionMapper examTestProjectKindConclusionMapper;
	
	@Override
	public int save(ExamTestProjectKindConclusion entity) {
		return examTestProjectKindConclusionMapper.save(entity);
	}

	@Override
	public List<ExamTestProjectKindConclusion> findByEntity(
			ExamTestProjectKindConclusion entity) {
		return examTestProjectKindConclusionMapper.findByEntity(entity, null);
	}

}
